package com.icinfo.cloud.provider.punish.ucase.casemain.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 描述：材料补充上传线下文书保存dto
 *
 * @author sunjiefei
 * @description
 * @date 2023/4/19
 */
@Data
public class CaseOfflineDocumentSaveDto implements Serializable {
    /**
     * 文书id(修改时传documentId)
     */
    private String documentId;
    /**
     * 文书地址
     */
    @NotEmpty(message = "文书地址不能为空")
    private String documentUrl;
    /**
     * 附件名称
     */
    @NotEmpty(message = "附件名称不能为空")
    private String appendixName;
    /**
     * 附件名称(前缀)
     */
    @NotEmpty(message = "附件名称(前缀)不能为空")
    private String appendixNamePrefix;
    /**
     * 附件名称(后缀)
     */
    @NotEmpty(message = "附件名称(后缀)不能为空")
    private String appendixNameSuffix;

    private static final long serialVersionUID = 1L;
}
